.user {
  width: 100vw;
  height: 100vh;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-self: center;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;

  &__name {
    display: block;
  }

  &__img {
    width: 300px;
    height: 300px;
    border-radius: 200px;
  }

  &__maininfo {
    &__text {
      font-size: 18px;
      margin-bottom: 10px;
    }
  }

  &__info {
    margin-top: 30px;

    &__name {
      font-size: 36px;
    }

    &__username {
      color: grey;
    }

    &__list {
      display: flex;
      flex-wrap: wrap;

      & li {
        margin-top: 10px;
      }
      & li:not(:last-child) {
        margin-right: 10px;
      }
    }
  }

  &__right {
    margin-left: 30px;
  }

  &__posts {
    font-size: 36px;

    &__count {
      margin-top: 5px;
      color: grey;
    }
  }

  &__modal {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    &__todos {
      &__list {
        display: flex;
        flex-wrap: wrap;

        &__item {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          padding: 5px;
          width: 100px;
          margin-top: 10px;
          margin-right: 10px;
          border: 2px solid #1976d2;
          border-radius: 10px;
        }
      }
    }
  }

  &__postcard {
    margin-top: 20px;
    border-left: 5px solid #1976d2;
    padding-left: 10px;

    &:hover {
      .user__postcard__title {
        text-decoration: underline;
      }
    }

    &__comment {
      margin-top: 20px;
      border-top: 5px solid #1976d2;
      padding: 10px;

      &__title {
        font-size: 24px;
      }

      &__card {
        margin-top: 20px;

        &__name {
          font-size: 20px;
          font-weight: bold;
        }

        &__email {
          font-size: 12px;
          color: grey;
          margin-bottom: 10px;
        }

        &__body {
          line-height: 1.5;
        }
      }
    }

    &__title {
      cursor: pointer;
      font-size: 24px;
      margin-bottom: 15px;
    }

    &__body {
      font-size: 15px;
    }
  }
}
